<include file="./Tpl/Home/top.html"/>
<include file="./Tpl/Home/header.html" />
<!--交易页面的子导航区-->
<include file="./Tpl/Home/user_nav.html" />

<div class="container">
<!--全站交易记录-->
<div class="trade-part trade-part-hd mt20">
  <div class="trade-hd">
        <h5><i class="icon_condition"></i>登录密码设置</h5>
  </div>
  <div class="md">
	<div class="my-grid" id="order-grid">
	    <form action="{$path}/User/updatepwd" method="post" id="formid">
			<table class="items table table-striped table-bordered table-condensed chkreal">
			<tbody>
			<tr><td colspan=2>为了您的帐号安全，请经常更换登录密码。</td></tr>
			<tr><td>登录密码：</td><td><input type="password" name="oldpassword"/></td></tr>
			<tr><td>新登录密码：</td><td><input type="password" name="password"/></td></tr>
			<tr><td>重复新密码：</td><td><input type="password" name="repassword"/></td></tr>
			<tr><td colspan=2><input type="button" id="subbtn" class="btn" value="确定"/></td></tr>
			</tbody>
			</table>
		</form>
	</div>
  </div>
</div>
</div>
<!--尾部-->
<include file="./Tpl/Home/footer.html" />
<!-- footer -->

<div class="modal hide fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"></div>

<!--[if IE 6]><script src="/js/ie-6.js"></script><![endif]-->
<script type="text/javascript" src="/Public/Home/js/jquery.SuperSlide.js"></script>
<script type="text/javascript" src="/Public/Home/js/slideTxtBox.js"></script>
<script type="text/javascript" src="/Public/Home/js/bootbox.js"></script>
<script type="text/javascript" src="/Public/Home/js/box.js"></script>
<script type="text/javascript" src="/Public/Home/js/lang.js"></script>
<script type="text/javascript" src="/Public/Home/js/responseHandler.js"></script>
<script type="text/javascript" src="/Public/Home/js/jquery.yiigridview.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
jQuery(function($) {
jQuery('body').popover({'selector':'a[rel=popover]'});
jQuery('#order-grid').yiiGridView({'ajaxUpdate':['order-grid'],'ajaxVar':'ajax','pagerClass':'pagination','loadingClass':'grid-view-loading','filterClass':'filters','tableClass':'items table table-striped table-bordered table-condensed','selectableRows':1,'enableHistory':false,'updateSelector':'{page}, {sort}','filterSelector':'{filter}','pageVar':'CurrencyTransaction_page'});
});
/*]]>*/


$(document).ready(function(){
	$('#subbtn').click(function(){
	    if($('input[name=oldpassword]').val()==""){
		    msgDalog("请输入登录密码！","",0);
		}else if($('input[name=password]').val()==""){
		    msgDalog("请输入新登录密码！","",0);
		}else if($('input[name=repassword]').val()==""){
		    msgDalog("请再次输入新登录密码！","",0);
		}else{
		    $('#formid').submit();
		}
	});
});
</script>


</body></html>